#include "categories.h"

CategoryBase::CategoryBase(QObject *parent) :
    DTwentyItem(parent),
    d(new Data())
{
}

CategoryBase::CategoryBase(const QString &name, QObject *parent) :
    DTwentyItem(parent),
    d(new Data())
{
    setName(name);
}

CategoryBase::CategoryBase(const CategoryBase &other) :
    DTwentyItem(other),
    d(other.d)
{
}

QVariant CategoryBase::category() const
{
    return d->category;
}

QVariantMap CategoryBase::categories() const
{
    return QVariantMap();
}


void CategoryBase::setCategory(const QVariant &category) const
{
    d->category = category;
}

